import { IQuery, IResponse, ITableResponse } from "@/types/http/IAxios";
import http from "../../config/http";

// 查询商品信息列表

export function saasMapList(query?: IQuery): Promise<ITableResponse<IAudit>> {
  return http.request({
    url: "saas/map/list",
    method: "get",
    params: query
  });
}
export function auditActive(query?: {
  uid: string;
  extendParams: string;
}): Promise<IResponse<any>> {
  return http.request({
    url: "saas/map/active",
    method: "post",
    data: query
  });
}
